
#include "register/tilingdata_base.h"

namespace optiling
{
BEGIN_TILING_DATA_DEF(ScatterElementsTilingData)
  TILING_DATA_FIELD_DEF(uint32_t, size);
  TILING_DATA_FIELD_DEF(uint32_t, ind_size);
  TILING_DATA_FIELD_DEF(uint32_t, upd_size);
  TILING_DATA_FIELD_DEF(int32_t, var_dim);
  TILING_DATA_FIELD_DEF(int32_t, ind_dim);

  TILING_DATA_FIELD_DEF_ARR(int32_t, 10, var_ndarray);
  TILING_DATA_FIELD_DEF_ARR(int32_t, 10, ind_ndarray);

  TILING_DATA_FIELD_DEF(uint32_t, axis);
  TILING_DATA_FIELD_DEF(uint8_t, reduce);
END_TILING_DATA_DEF;

REGISTER_TILING_DATA_CLASS(ScatterElements, ScatterElementsTilingData)
}
